﻿using MySpiderMgr.Domain.Common.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace MySpiderMgr.Domain.Common.Dtos
{
    public class CreateSysSequenceDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 格式 XX{{Date:yyyyMMdd}}{{value:x}}
        /// </summary>
        public string Format { get; set; }
        /// <summary>
        /// 起始值
        /// </summary>
        public int? StartValue { get; set; }
        /// <summary>
        /// 增量
        /// </summary>
        public int? Increment { get; set; }
        /// <summary>
        /// 是否需要循环
        /// </summary>
        public bool IsCycle { get; set; }
        /// <summary>
        /// 周期
        /// </summary>
        public CyclePeriod Period { get; set; }
        /// <summary>
        /// 当前周期值
        /// </summary>
        public string PeriodValue { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remarks { get; set; }
    }
}
